package Coffee.service;

import Coffee.bean.Order;

import java.util.List;

public interface OrderService {
    void insertOrder(String username,String cofname,int cofcount);
    List<Order> queryOrder(String username);
    List<Order> queryOrderAll();
    List<Order> queryOrderByState(String username,String orderstate);//根据订单状态，name查询订单
    void updateOrderState(String orderstate,String orderid);//修改订单状态
    Order queryOrderByOrderId(String orderid);//根据orderid查询单个订单
    List<Order> queryOrderAdmin(String username);//查询指定用户待支付，制作中的订单

}
